Misc. bug fixes.
3ddb79c0MOVXq8qZDQRGb6z64_xAwg xen/include/xeno/pci_ids.h
3e54c38dlSCVdyVM4PKcrSfzLLxWUQ xen/include/xeno/perfc.h
3e54c38de9SUSYSAwxDf_DwkpAnQFA xen/include/xeno/perfc_defn.h
+3f055a3dwldYR102YcSuBaxIf9t3Jw xen/include/xeno/physdisk.h
3ddb79c04nQVR3EYM5L4zxDV_MCo1g xen/include/xeno/prefetch.h
3e4540ccU1sgCx8seIMGlahmMfv7yQ xen/include/xeno/reboot.h
3ddb79c0LzqqS0LhAQ50ekgj4oGl7Q xen/include/xeno/sched.h
xenolinux-2.4.16-sparse/arch/xeno/drivers/block/Makefile.orig
xenolinux-2.4.16-sparse/arch/xeno/drivers/block/block.c.orig
xenolinux-2.4.16-sparse/scripts/kconfig.tk
+xen/include/xeno/physdisk.h~
#include <asm/msr.h>
#include <xeno/blkdev.h>
#include <xeno/console.h>
+#include <hypervisor-ifs/block.h>
+#include <xeno/physdisk.h>
/*
* NB. No ring-3 access in initial guestOS pagetables. Note that we allow
#include <xeno/interrupt.h>
#include <xeno/segment.h>
#include <xeno/slab.h>
+#include <xeno/physdisk.h>
#if 0
#define DPRINTK(_f, _a...) printk( _f , ## _a )
goto bad_descriptor;
}
if (p->domain != 0 &&
- !xen_physdisk_access_okay(&phys_seg, p, operation)) {
+ !xen_physdisk_access_okay(&phys_seg[nr_psegs], p, operation)) {
DPRINTK("access denied\n");
/* XXX not quite right, but close enough. */
goto bad_descriptor;
#include <asm/domain_page.h>
#include <asm/io.h>
#include <xeno/segment.h>
+#include <xeno/physdisk.h>
#define MAX(a,b) ((a) > (b) ? (a) : (b))
ace_end <= start_sect)
continue;
- DPRINTK("Killing ace [%x, %x) against kill zone [%x, %x)\n",
+ DPRINTK("Killing ace [%lx, %lx) against kill zone [%lx, %lx)\n",
cur_ace->start_sect, ace_end, start_sect, kill_zone_end);
if (cur_ace->start_sect >= start_sect &&
struct physdisk_ace *cur_ace;
unsigned long sect;
- DPRINTK("Checking access for domain %d, start sect %d, length %d.\n",
+ DPRINTK("Checking access for domain %d, start sect 0x%lx, length 0x%x.\n",
p->domain, pseg->sector_number, pseg->nr_sects);
for (sect = pseg->sector_number;
--- /dev/null
+#ifndef PHYSDISK_ACES__
+#define PHYSDISK_ACES__
+
+struct task_struct;
+
+void destroy_physdisk_aces(struct task_struct *p);
+
+int xen_physdisk_grant(xp_disk_t *);
+int xen_physdisk_probe(physdisk_probebuf_t *);
+int xen_physdisk_access_okay(phys_seg_t *pseg, struct task_struct *p,
+ int operation);
+
+#endif /* PHYSDISK_ACES__ */